/*
 * Exploder
 * 
 * Tero Pyylampi (218437), Jussi Tuurinkoski (211594)
 *
 * Includes generic functions for affecting the physics world
 */

#ifndef GAMEWORLDMODULE_H
#define GAMEWORLDMODULE_H

#include "Box2D/Box2D.h"
#include <vector>

class GamePhysicObject;

namespace GameWorldModule {
	// explode all the bombs
	void explodeAvailableBombs( std::vector< GamePhysicObject* > *objects );
	// cause a single physics world explosion with a specific force (0.0 = none, 1.0 = infinite)
	void causePhysicWorldExplosion( b2World *world, std::vector< GamePhysicObject* > *objects, b2Vec2 pos, float force );
};

#endif